package com.gxa.p2p.mapper;

import com.gxa.p2p.pojo.Agreement;
import com.gxa.p2p.pojo.Version;

import java.util.List;
import java.util.Map;

public interface AgreementMapper {
    List<Agreement> selectAll(Integer page,Integer size);
    void add(Agreement agreement);
    void update(Long aid,Boolean astate);
    Agreement selectById(Long aid);
    List<Agreement> selectAllData();
}
